home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / code / r3macro.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.3 KB  |  55 lines

  1.  
  2. // JavaScript wrapper for r3macro.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_MACRO_H = 1;
  7. include("real/code/r3ttag.js")
  8.  
  9.  
  10. var R3CLID_MACRO = 826;
  11.  
  12.  
  13.  
  14.  
  15. var R3MACROA_Events = 826500; // r3List
  16. var R3MACROA_ExtensionMethod = 826501; // String
  17. var R3MACROA_Method = 826502; // Integer
  18. var R3MACROA_Target = 826503; // String
  19. var R3MACROA_Tags = 826504; // Tag[]
  20. var R3MACROA_NumParams = 826505; // Integer
  21. var R3MACROA_TargetName = 826506; // String
  22. R3MACROA_Label = 826507;
  23. function SetR3MACROA_Label(value) {
  24.   R3Set(this.r3obj, R3MACROA_Label, value, R3TID_STRING, 0); 
  25. }
  26.  
  27. function GetR3MACROA_Label() {
  28.   return R3Get(this.r3obj, R3MACROA_Label, R3TID_STRING, 0); 
  29. }
  30.  
  31. R3MACROA_Description = 826508;
  32. function SetR3MACROA_Description(value) {
  33.   R3Set(this.r3obj, R3MACROA_Description, value, R3TID_STRING, 0); 
  34. }
  35.  
  36. function GetR3MACROA_Description() {
  37.   return R3Get(this.r3obj, R3MACROA_Description, R3TID_STRING, 0); 
  38. }
  39.  
  40.  
  41.  
  42. function r3Macro () { 
  43.    this.base = r3God;
  44.    if(arguments.length) {
  45.       this.base(R3CLID_MACRO, arguments);
  46.    }
  47.    // Attributes
  48.    this.GetLabel=GetR3MACROA_Label;
  49.    this.SetLabel=SetR3MACROA_Label;
  50.    this.GetDescription=GetR3MACROA_Description;
  51.    this.SetDescription=SetR3MACROA_Description;
  52. }
  53.  
  54. r3Macro.prototype=new r3Ttag;
  55. // r3macro.h_H